#pragma once
#ifndef MODEL__SEARCH__INCLUDED__HH
#define MODEL__SEARCH__INCLUDED__HH

#include <qlineedit.h>
#include <qlistwidget.h>
#include <qmessagebox.h>
#include <LitResourcesList.h>

class ModelSearchBar : public QLineEdit
{
	Q_OBJECT

	Lit::ResourcesList *	mResources;
	QListWidget *			mList;

public:
	ModelSearchBar( QWidget * parent );
	~ModelSearchBar( );

	void setupBuddies( Lit::ResourcesList* list, QListWidget * widget );

	protected slots:
		void textChanged( const QString &txt );
};


#endif